package cn.wolfcode.service;

import cn.wolfcode.domain.Department;
import cn.wolfcode.domain.Permission;
import cn.wolfcode.qo.PageResult;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void deleteByPrimaryKey(Long id);

    void insert(Permission record);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    void updateByPrimaryKey(Permission record);

    //分页查询  返回 数据 封装在 pageResult对象 中
    PageInfo query(QueryObject qo);


    void reload();

    //根据员工 id 查询
    List<String> selectExpressionByEmpId(Long employeeId);

}
